//链接数据库+库
const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/markdown');

module.exports = mongoose;